package com.ytjj.qmyx.mall.model;

import java.io.Serializable;
import java.util.Date;

public class AdvertReport implements Serializable {
    private Integer id;

    /**
     * 广告id
     *
     * @mbg.generated
     */
    private String callback;

    /**
     * 商品浏览：BROWSE，购物车：CART，提交订单：PLACE_ORDER，付款成功：PAYMENT_ORDER，APP激活：APP_ACTIVE，APP注册：APP_REGISTER
     *
     * @mbg.generated
     */
    private String type;

    /**
     * 商品id
     *
     * @mbg.generated
     */
    private Integer productId;

    /**
     * 快手：KS，头条：TT
     *
     * @mbg.generated
     */
    private String advertPlatform;

    /**
     * 渠道
     *
     * @mbg.generated
     */
    private String channel;

    /**
     * 状态（0：未发1：已发）
     *
     * @mbg.generated
     */
    private Integer status;

    /**
     * 用户token
     *
     * @mbg.generated
     */
    private String token;

    /**
     * 创建时间
     *
     * @mbg.generated
     */
    private Date createTime;

    /**
     * 修改时间
     *
     * @mbg.generated
     */
    private Date updateTime;

    /**
     * 安卓imei
     *
     * @mbg.generated
     */
    private String imei;

    /**
     * 操作系统:ios，android
     *
     * @mbg.generated
     */
    private String platform;

    /**
     * idfa
     *
     * @mbg.generated
     */
    private String idfa;

    private String ip;

    private String ua;

    /**
     * 安卓oaid
     *
     * @mbg.generated
     */
    private String oaid;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getCallback() {
        return callback;
    }

    public void setCallback(String callback) {
        this.callback = callback;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Integer getProductId() {
        return productId;
    }

    public void setProductId(Integer productId) {
        this.productId = productId;
    }

    public String getAdvertPlatform() {
        return advertPlatform;
    }

    public void setAdvertPlatform(String advertPlatform) {
        this.advertPlatform = advertPlatform;
    }

    public String getChannel() {
        return channel;
    }

    public void setChannel(String channel) {
        this.channel = channel;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getImei() {
        return imei;
    }

    public void setImei(String imei) {
        this.imei = imei;
    }

    public String getPlatform() {
        return platform;
    }

    public void setPlatform(String platform) {
        this.platform = platform;
    }

    public String getIdfa() {
        return idfa;
    }

    public void setIdfa(String idfa) {
        this.idfa = idfa;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public String getUa() {
        return ua;
    }

    public void setUa(String ua) {
        this.ua = ua;
    }

    public String getOaid() {
        return oaid;
    }

    public void setOaid(String oaid) {
        this.oaid = oaid;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", callback=").append(callback);
        sb.append(", type=").append(type);
        sb.append(", productId=").append(productId);
        sb.append(", advertPlatform=").append(advertPlatform);
        sb.append(", channel=").append(channel);
        sb.append(", status=").append(status);
        sb.append(", token=").append(token);
        sb.append(", createTime=").append(createTime);
        sb.append(", updateTime=").append(updateTime);
        sb.append(", imei=").append(imei);
        sb.append(", platform=").append(platform);
        sb.append(", idfa=").append(idfa);
        sb.append(", ip=").append(ip);
        sb.append(", ua=").append(ua);
        sb.append(", oaid=").append(oaid);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}